package com.aos.erp.schools.service.mq;

import org.springframework.amqp.rabbit.core.RabbitTemplate;

/**
 * @program: erp
 * @description:
 * @author: tanzhiyu
 * @create: 2018-11-19 14:47
 **/
public interface SendMessageService extends RabbitTemplate.ConfirmCallback {

    /**
     * 同步用户
     *
     * @param synUser
     * @throws Exception
     */
    void synUserInfo(Object synUser) throws Exception;

    /**
     * 同步用户删除
     * @param synUser
     * @throws Exception
     */
    void deleteUser(Object synUser) throws Exception;
}


